package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 植物百科
 * </p>
 *
 * @author author
 * @since 2024-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_plant")
@ApiModel(value="GeConPlant对象", description="植物百科")
public class GeConPlant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "植物编号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "封面")
    private String picture;

    @ApiModelProperty(value = "状态 0.待审核 1.已审核 2.审核失败 3.已发布 -1.已删除 4.未提交")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "跳转页")
    private String page;

    @TableField("QR_code")
    @ApiModelProperty(value = "二维码")
    private String ORCode;

    @ApiModelProperty(value = "植物名称")
    private String nameZh;

    private String nameEn;

    private String species;

    private String introduction;

    private String distribution;

    private String habit;

    @TableField(value = "`index`")
    private String index;

}
